package com.sizu.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mht
 * @since 2020-02-21
 */
@Data
@Accessors(chain = true)
public class TSupplier extends Model<TSupplier> {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
private Integer id;

    private String address;

    private String contact;

    private String name;

    private String number;

    private String remarks;

    private Integer enable;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
